All Questions
Tagged with entity-frameworkobject-oriented
6 questions
5votes
3answers
161views
Collect reporting data for each possible combination of filter properties
Basically I'm looking for a way to improve my code, and avoid making a lot of if statements and parameter combination manually, 'cause I need to return a query result depending in the parameters that ...
5votes
2answers
5kviews
Repository pattern along with EF and Unit of work
I'm new to this Repository pattern and have seen lot of repository pattern + UoW implementations all over the internet and I'm not able to reach to a conclusion as to which of them is correct . After ...
2votes
0answers
808views
Domain Driven Design Model for handling images
I have to create model which will handle various types of images in my app. INTRO Plan is to have one Image type which will be universal and then extended with ...
1vote
1answer
1kviews
Push Entity Framework exceptions to business layer
I am trying to write an exception handler/parser, which I want to return from DAL to the business layer. I am writing below class because I don't want my business layer to know if I am using EF under ...
-4votes
1answer
134views
Which way is better (matching Onion Architecture in MVC pattern) for using Provider?
In onion arch. we have multi layer structre: UI (User interface). BL (Business Logic / Services). RE (Repositories). UI uses BL to get data from RE with some conditions, my question is which is ...
1vote
1answer
707views
Is it proper TPT Inheritance
I have following model and database created using Entity Framework. Is it proper TPT Inheritance? Is it possible to make the base class as abstract? Model Database CODE ...